d586a0c5589ec0861433d5d8d05b543287e99f74,src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC3Impl.java,HTTPHC3Impl,sample,#URL#String#boolean#number#,186
Before Change
} catch (IllegalArgumentException e)// e.g. some kinds of invalid URL
{
res.sampleEnd();
HTTPSampleResult err = errorResult(e, res);
err.setSampleLabel("Error: " + url.toString());
return err;
} catch (IOException e) {
res.sampleEnd();
HTTPSampleResult err = errorResult(e, res);
err.setSampleLabel("Error: " + url.toString());
return err;
} finally {
savedClient = null;
After Change
return res;
} catch (IllegalArgumentException e) { // e.g. some kinds of invalid URL
res.sampleEnd();
errorResult(e, res);
return res;
} catch (IOException e) {
res.sampleEnd();
errorResult(e, res);
return res;
} finally {
savedClient = null;